//
//  CTMeDownloadCell.m
//  baisi
//
//  Created by leo on 2017/5/25.
//  Copyright © 2017年 mine.com. All rights reserved.
//

#import "CTMeDownloadCell.h"
#import "CTMeDownloadItem.h"
#import "UIImageView+WebCache.h"
@interface CTMeDownloadCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;


@end

@implementation CTMeDownloadCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setDownloadItem:(CTMeDownloadItem *)downloadItem {
    _downloadItem = downloadItem;
    [_iconView sd_setImageWithURL:[NSURL URLWithString:_downloadItem.icon]];
    _nameLabel.text = _downloadItem.name;
}

@end
